<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>库存盘点</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <link rel="stylesheet" href="../../css/jqweui/lib/weui.min.css">
    <link rel="stylesheet" href="../../css/jqweui/css/jquery-weui.css">
    <link rel="stylesheet" href="../../css/jqweui/css/jqweui_extend.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_539359_q9xrtmlc8gp.css">
    <script src="../../script/plugins/jquery.min.js"></script>
    <script type="text/javascript" src="../../script/plugins/in/in-min.js"></script>
    <script type="text/javascript" src="../../css/jqweui/js/in-config.js"></script>
    <script src="../../css/jqweui/js/jquery-weui.js"></script>
    <script src="../../css/jqweui/js/util.js"></script>
</head>
<body class="wrap">
<section class="mc-view-box">
    <div class="mc-header-box">
        <div class="mc-header bg-black">
            <a href="javascript:;" onclick="utils.back()" class="head-icon">
                <i class="iconfont icon-arrow-left"></i>
            </a>
            <div class="main-box head-title text-left">
                盘点单
            </div>
            <a href="depot_check.html" class="head-icon">
                提交
            </a>
        </div>
    </div>
    <div class="mc-scrollview">
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label for="time2" class="weui-label">单据编号</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" value="20180706001023412" readonly>
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label for="time2" class="weui-label">盘点日期</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" id="time2" type="text" value="2012-12-12 12时">
                </div>
            </div>
            <div class="weui-cell weui-cell_select weui-cell_select-after">
                <div class="weui-cell__hd">
                    <label for="" class="weui-label">盘点仓库</label>
                </div>
                <div class="weui-cell__bd">
                    <select class="weui-select" name="select1">
                        <option value="">请选择盘点仓库</option>
                        <option value="1">1号仓库</option>
                        <option value="2">2号仓库</option>
                        <option value="3">3号仓库</option>
                    </select>
                </div>
            </div>

        </div>
    </div>
</section>
<script>
    $("#time2").datetimePicker({
        times: function () {
            return [
                {
                    values: (function () {
                        var hours = [];
                        for (var i=0; i<24; i++) hours.push(i > 9 ? i : '0'+i);
                        return hours;
                    })()
                },
                {
                    divider: true,  // 这是一个分隔符
                    content: '时'
                }
            ];
        },
        minDate:'2017-06-01',
        onChange: function (picker, values, displayValues) {
            console.log(values);
        },
    });
</script>
</body>
</html>